<!--
 * @Author: Guiter 1336263157@qq.com
 * @Date: 2023-11-13 09:09:52
 * @LastEditors: Guiter 1336263157@qq.com
 * @LastEditTime: 2023-11-29 18:41:06
 * @FilePath: \nuxt3-music-player\src\components\Header\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script lang="ts" setup>
import { layout } from '~/server/api/login';

const _emit = defineEmits<(event: 'changeLoginShow') => void>();
</script>

<template>
  <div class="border-b-default min-h-18 w-full select-none p-2">
    <div class="">
      <button class="button-default" @click="_emit('changeLoginShow')">登录</button>
      <button class="button-default" @click="layout">推出登录</button>
    </div>
  </div>
</template>
